projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57417cb
)
(scan_c_file): Warn about missing `usage' info.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 15 Jul 2002 19:59:53 +0000
(19:59 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 15 Jul 2002 19:59:53 +0000
(19:59 +0000)
lib-src/make-docfile.c
patch
|
blob
|
history
diff --git
a/lib-src/make-docfile.c
b/lib-src/make-docfile.c
index 99da7b851864114e8f48cae92ad7c118400533f7..124572cb89938a5530346525c24eef11229b22ac 100644
(file)
--- a/
lib-src/make-docfile.c
+++ b/
lib-src/make-docfile.c
@@
-722,6
+722,9
@@
scan_c_file (filename, mode)
fprintf (outfile, "\n\n");
write_c_args (outfile, buf, argbuf, minargs, maxargs);
}
+ else if (defunflag && maxargs == -1 && !saw_usage)
+ /* The DOC should provide the usage form. */
+ fprintf (stderr, "Missing `usage' for function `%s'.\n", buf);
}
}
eof: